<?php
namespace app\api\model;
use think\Model;


class User extends Model{
    //自定义初始化
    protected $table = 'User';

    protected $autoWriteTimestamp = 'datetime';

//    public function profile(){
//        return $this->hasOne('Member_Info','uid','id');
//    }
//
//    public function attach(){
//        return $this->hasMany('Attach');
//    }
}

